package com.dashu.core.dto.device;


import com.dashu.base.enums.device.DeviceType;
import com.dashu.base.enums.device.Type;
import com.dashu.core.dto.BaseDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.io.Serializable;


@Data
public class DeviceListDTO extends BaseDTO implements Serializable {
    @ApiModelProperty(value = "设备账号")
    private String deviceNum;
    @ApiModelProperty(value = "设备密码")
    private String devicePass;
    @ApiModelProperty(value = "uuid")
    private String uuid;
    @ApiModelProperty(value = "设备所有者id")
    private long deviceBaseId;
    @ApiModelProperty(value = "设备所有者")
    private String companyName;
    @ApiModelProperty(value = "设备名称")
    private String deviceName;
    @ApiModelProperty(value = "位置")
    private String position;
    @ApiModelProperty(value = "功能类型")
    private String function;
    @ApiModelProperty(value = "端口")
    private long port;
    @ApiModelProperty(value = "进出类型")
    private String inAndOut;
    @ApiModelProperty(value = "ip")
    private String ip;
    @ApiModelProperty(value = "状态")
    private String status;
    @ApiModelProperty(value = "通道")
    private long passageway;
    @ApiModelProperty(value = "设备类型")
    private DeviceType deviceType;
    @ApiModelProperty(value = "开门类型")
    private Type doorType;
}
